package com.gxar.file.server.base.model.upload.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author linsy
 * @version 1.0
 * @created 2023/7/6 15:24
 */
@ApiModel("上传文件视图模型")
@Data
public class UploadRequest {

    @ApiModelProperty(value = "上传的产品名称", allowableValues = "material-素材, quick-ar-QuickAR产品")
    @NotBlank(message = "产品名称不能为空")
    private String product;
    @ApiModelProperty(value = "是否公共读,默认false")
    private Boolean publics;
    @ApiModelProperty(value = "自定义目录")
    private String directory;
}
